<?php

/*
 * Niken Larasati
 * larasati.n@students.amikom.ac.id
 */


class kades extends CI_Controller{
    public function __construct() {
        parent::__construct();
        
       $sesi = $this->session->userdata('login');
        if ($sesi['level'] != 'admin' && $sesi['level'] != 'kades') {
            redirect('halaman');
    }
    
}
}
?>

